<template>
  <div>
    <el-divider content-position="left">中医</el-divider>

    <el-link href="javascript:;" type="info" :underline="false">
      <a @click="dialogVisible = true">{{ title }}</a>
    </el-link>

    <el-dialog
      :title=title
      :visible.sync="dialogVisible"
      width="95%"
      :before-close="handleClose">
      <div>
        <div v-html="content"></div>
      </div>
      <span slot="footer" class="dialog-footer">
    <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
  </span>
    </el-dialog>
  </div>
</template>

<script>
export default {
  name: "ChineseMedicine",
  data() {
    return {
      dialogVisible: false,
      title: '中医学习笔记',
      content: ''
    }
  },
  methods: {
    handleClose(done) {
      done();
    }
  }
}
</script>

<style scoped>
.iframe {

}
</style>
